package com.site_assembly.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.site_assembly.dao.WarehousingMapper;
import com.site_assembly.entity.Warehousing;
import com.site_assembly.service.IWarehousingService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 * 入库记录表 服务实现类
 * </p>
 *
 * @author Lucas
 * @since 2021-09-28
 */
@Service
public class WarehousingServiceImpl extends ServiceImpl<WarehousingMapper, Warehousing> implements IWarehousingService {

    @Resource
    private WarehousingMapper warehousingMapper;

    @Override
    public Integer wasteWareHousing(Warehousing warehousing) {
        return warehousingMapper.insert(warehousing);
    }
}
